<?php
$html = '';
$scriptsIterator = new ArrayObject(split(',', $this->scripts));
foreach($scriptsIterator as $script){
 $html .= "<script type=\"text/javascript\" src=\"".$this->config->get('js_path').trim($script).".js\"></script>\n";
}
echo $html;
?>